// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

//两个公共样式，图片转化为640，1rem = 100px;
import '../static/css/reset.css'
import '../static/js/rem.js'

import { home,friend,investment,mine } from './mock'
//调用数据
import axios from 'axios'

//mint-ui哪个页面须要就在哪个页面引，实现按需加载
Vue.prototype.$http = axios

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
